﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Cartoons.ViewModels
{
    public class Selectable<T> : ViewModelBase
    {
        private T item;
        public Selectable(T item)
        {
            this.item = item;
        }
        
        public T Item { get { return item; } set { item = value; RaisePropertyChanged("Item"); } }
        
        private bool isSelected;
        public bool IsSelected { get { return isSelected; } set { isSelected = value; RaisePropertyChanged("IsSelected"); } }
    }
}
